public class ZhaiZhiJie
{
    public static void main(String[] args) {
        Address a = new Address("Chinese", "FuJian", "FuZhou", "MinHou", 123456);
        System.out.println("country: " + a.getCountry() + ", province: " + a.getProvince() + ", city: " + a.getCity() + ", street: " + a.getStreet() + ", postcode: " + a.getPostcode() );
    }
}

class Address
{
    private String country;
    private String province;
    private String city;
    private String street;
    private int postcode;
    public Address(String country, String province, String city, String street, int postcode)
    {
        this.setCountry(country);
        this.setProvince(province);
        this.setCity(city);
        this.setStreet(street);
        this.setPostcode(postcode);
    }
    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public int getPostcode() {
        return postcode;
    }

    public void setPostcode(int postcode) {
        this.postcode = postcode;
    }
}
